otutil: add error handling to variant builders
authorLuca BRUNO <luca.bruno@coreos.com>
Thu, 8 Sep 2022 13:53:05 +0000 (13:53 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Thu, 8 Sep 2022 13:53:05 +0000 (13:53 +0000)
commit542b79cfeb3d6475f759ebd633cce91422d531ec
treeebff897cbb022a0ac5abc69a57a7fd427ef0a584
parent6873a2511b21a0ba3d5ca80a24f0047e0079b46e
otutil: add error handling to variant builders

This enhances a bunch of helpers related to GVariant building, in
order to properly handle errors and avoid some potential cases of
unexpected NULL results.
src/libostree/ostree-repo-static-delta-compilation.c
src/libotutil/ot-variant-builder.c